package org.example.physics_engine.collision.manifold;

import lombok.Data;
import org.example.physics_engine.geometry.Vector2d;

//穿透信息
@Data
public class Penetration {

    //穿透法线，Shape1指向Shape2
    protected Vector2d penetrationNormal;

    //穿透深度
    protected double depth;

    public Penetration() {
        penetrationNormal = new Vector2d();
    }
}
